package com.glory.good_dark.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author yi.zhang
 * @date 2019/7/12
 * @desc 解锁返回
 */
public class UnlockEntity implements Serializable{

    private String EQP_ID;

    private List<UnLockTypeEntity> UNLOCK_TYPE_LIST;

    private List<LockTypeEntity> LOCK_TYPE_LIST;

    public List<LockTypeEntity> getLOCK_TYPE_LIST() {
        if (LOCK_TYPE_LIST == null) {
            return new ArrayList<>();
        }
        return LOCK_TYPE_LIST;
    }

    public void setLOCK_TYPE_LIST(List<LockTypeEntity> LOCK_TYPE_LIST) {
        this.LOCK_TYPE_LIST = LOCK_TYPE_LIST;
    }

    public String getEQP_ID() {
        return EQP_ID == null ? "" : EQP_ID;
    }

    public void setEQP_ID(String EQP_ID) {
        this.EQP_ID = EQP_ID;
    }

    public List<UnLockTypeEntity> getUNLOCK_TYPE_LIST() {
        if (UNLOCK_TYPE_LIST == null) {
            return new ArrayList<>();
        }
        return UNLOCK_TYPE_LIST;
    }

    public void setUNLOCK_TYPE_LIST(List<UnLockTypeEntity> UNLOCK_TYPE_LIST) {
        this.UNLOCK_TYPE_LIST = UNLOCK_TYPE_LIST;
    }

    public class UnLockTypeEntity implements Serializable{

        private String EQP_TYPE;
        private String PROCESS;
        private String LOCK_TYPE;
        private String LOCK_STATES;
        private String LOCK_USER;
        private String LOCK_TYPE_TIME;
        private String UNLOCK_USER;
        private String UNLOCK_TYPE_TIME;
        private int EQP_LOCK_ID;

        public String getEQP_TYPE() {
            return EQP_TYPE == null ? "" : EQP_TYPE;
        }

        public void setEQP_TYPE(String EQP_TYPE) {
            this.EQP_TYPE = EQP_TYPE;
        }

        public String getPROCESS() {
            return PROCESS == null ? "" : PROCESS;
        }

        public void setPROCESS(String PROCESS) {
            this.PROCESS = PROCESS;
        }

        public String getLOCK_TYPE() {
            return LOCK_TYPE == null ? "" : LOCK_TYPE;
        }

        public void setLOCK_TYPE(String LOCK_TYPE) {
            this.LOCK_TYPE = LOCK_TYPE;
        }

        public String getLOCK_STATES() {
            return LOCK_STATES == null ? "" : LOCK_STATES;
        }

        public void setLOCK_STATES(String LOCK_STATES) {
            this.LOCK_STATES = LOCK_STATES;
        }

        public String getLOCK_USER() {
            return LOCK_USER == null ? "" : LOCK_USER;
        }

        public void setLOCK_USER(String LOCK_USER) {
            this.LOCK_USER = LOCK_USER;
        }

        public String getLOCK_TYPE_TIME() {
            return LOCK_TYPE_TIME == null ? "" : LOCK_TYPE_TIME;
        }

        public void setLOCK_TYPE_TIME(String LOCK_TYPE_TIME) {
            this.LOCK_TYPE_TIME = LOCK_TYPE_TIME;
        }

        public String getUNLOCK_USER() {
            return UNLOCK_USER == null ? "" : UNLOCK_USER;
        }

        public void setUNLOCK_USER(String UNLOCK_USER) {
            this.UNLOCK_USER = UNLOCK_USER;
        }

        public String getUNLOCK_TYPE_TIME() {
            return UNLOCK_TYPE_TIME == null ? "" : UNLOCK_TYPE_TIME;
        }

        public void setUNLOCK_TYPE_TIME(String UNLOCK_TYPE_TIME) {
            this.UNLOCK_TYPE_TIME = UNLOCK_TYPE_TIME;
        }

        public int getEQP_LOCK_ID() {
            return EQP_LOCK_ID;
        }

        public void setEQP_LOCK_ID(int EQP_LOCK_ID) {
            this.EQP_LOCK_ID = EQP_LOCK_ID;
        }
    }


    public class LockTypeEntity implements Serializable{
        private String LOCK_TYPE;
        private String PROCESS;
        private int LOCK_ID;

        public String getLOCK_TYPE() {
            return LOCK_TYPE == null ? "" : LOCK_TYPE;
        }

        public void setLOCK_TYPE(String LOCK_TYPE) {
            this.LOCK_TYPE = LOCK_TYPE;
        }

        public String getPROCESS() {
            return PROCESS == null ? "" : PROCESS;
        }

        public void setPROCESS(String PROCESS) {
            this.PROCESS = PROCESS;
        }

        public int getLOCK_ID() {
            return LOCK_ID;
        }

        public void setLOCK_ID(int LOCK_ID) {
            this.LOCK_ID = LOCK_ID;
        }
    }
}
